package io.zhengsh.order.service.impl;

import io.zhengsh.order.dto.OrderDto;
import io.zhengsh.order.service.OrderService;
import io.zhengsh.order.vo.OrderVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {

    private Logger logger = LoggerFactory.getLogger(OrderServiceImpl.class);

    @Override
    public OrderVo get(Long id) {
        logger.info("OrderService#get invoke!");
        OrderVo orderVo = new OrderVo();
        orderVo.setCode("100");
        return orderVo;
    }

    @Override
    public OrderVo createOrder(OrderDto orderDto) {
        logger.info("OrderService#createOrder invoke!");
        return null;
    }
}
